package com.sardine.base.esm.dataSource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 上海京东到家元信信息技术有限公司<br>
 * Created with IntelliJ IDEA.
 * Date:2017/5/22
 * Time:10:23
 *
 * @author daifeng<br>
 *         daifeng@imdada.cn
 * @since JDK 1.7 <br>
 * Copyright (c) 2017 imdada System Incorporated All Rights Reserved.
 */
public class EsmDataSource {
    private static final Logger logger = LoggerFactory.getLogger(EsmDataSource.class);

    /**集群名称*/
    private String clusterName;

    /**集群iP地址*/
    private String addressIp;

    private boolean esSniff = false;

    /**
     * ES数据库读写别名
     */
    public String readeAlias;
    /**
     * ES数据库读写别名
     */
    public String writeAlias;



    public String getClusterName() {
        return clusterName;
    }

    public void setClusterName(String clusterName) {
        this.clusterName = clusterName;
    }

    public String getAddressIp() {
        return addressIp;
    }

    public void setAddressIp(String addressIp) {
        this.addressIp = addressIp;
    }

    public boolean isEsSniff() {
        return esSniff;
    }

    public void setEsSniff(boolean esSniff) {
        this.esSniff = esSniff;
    }

    public String getReadeAlias() {
        return readeAlias;
    }

    public void setReadeAlias(String readeAlias) {
        this.readeAlias = readeAlias;
    }

    public String getWriteAlias() {
        return writeAlias;
    }

    public void setWriteAlias(String writeAlias) {
        this.writeAlias = writeAlias;
    }
}
